package com.lwl.blue.commont.utils.ancDec;


import java.lang.reflect.Field;

/**
 * <p> 加密 </p>
 *
 * @Date: 2021/11/22 10:07
 * @version: V1.0
 * @Decription:
 * @author: 蓝文良
 */
public interface  EncryptUtil {

    /**
     * 加密
     *
     * @param declaredFields paramsObject所声明的字段
     * @param paramsObject   mapper中paramsType的实例
     * @return T
     * @throws IllegalAccessException 字段不可访问异常
     */
    <T> T encrypt(Field[] declaredFields, T paramsObject) throws IllegalAccessException;
}
